package com.example.demo.survice;

import com.example.demo.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userDao;
    @Override
    public ArrayList getAllData() {
        return userDao.getAllData();
    }
}
